@import "@/styles/index.scss";

.upload-container {
    width: 100vw;
    min-height: 100vh;
    padding-bottom: 57rpx;
    background: $light;

    .title-block {
        padding: 33rpx 0 22rpx 40rpx;
    }

    .ipt-description-block {
        .textarea-description {
            position: relative;
            min-height: 280rpx;
            padding: 20rpx 40rpx 35rpx;
            padding-right: 35rpx;

            .textarea {
                height: 230rpx;
            }

            .counter-block {
                position: absolute;
                bottom: 3rpx;
                right: 35rpx;
                color: #8999b1
            }
        }
    }

    .upload-photo {
        .photo-block {
            padding: 35rpx 15rpx 0;

            .photo-item {
                position: relative;
                width: 25%;

                .photo {
                    @include wh(130rpx, 130rpx);
                    margin: 0 auto 35rpx;
                }

                .delete-btn {
                    position: absolute;
                    top: 0;
                    right: 30rpx;
                    @include wh(30rpx, 30rpx);

                    img {
                        @include wh(20rpx, 20rpx);
                    }
                }
            }

            .add-btn {
                width: 25%;

                .add-inner {
                    position: relative;
                    @include wh(130rpx, 130rpx);
                    margin: 0 auto 35rpx;
                    background: #eef3f8;
                    border: 1rpx solid $green;

                    img {
                        @include wh(60rpx, 55rpx);

                    }
                }
            }
        }
    }

    .confirm-btn {
        @include active-btn(540rpx, 80rpx);
        margin-top: 54rpx;
    }
}